package dm;

/**
 * <p>Title: Domain Model Generator</p>
 *
 * <p>Description: Automatic generation of a domain model</p>
 *
 * <p>Copyright: Copyright (c) 2011</p>
 *
 * <p>Company: UTA</p>
 *
 * @author David Kung
 * @version 1.0
 */
import java.util.*;
public class Adjectives
    extends DMComp {
    String[] negations=new String[] {"non", "un", "in", "ab", "im", ""};
  public Adjectives(String fileName) {
    super(fileName);
    ArrayList al=new ArrayList();
    for (int i=0; i<theList.size(); i++)
      for(int j=0; j<negations.length; j++)
        al.add(negations[j]+(String)theList.get(i));
    for(int k=0; k<al.size(); k++) theList.add(al.get(k));
  }
  public String markIt(String s) {
    return "<ADJ "+s+">";
  }
}
